import request from '@/utils/request'
// 专家履职档案List
export function expertEmploymentListApi(query) {
  return request({
    url: '/jsjx/expertEmployment/list',
    method: 'get',
    params: query
  })
};
// 专家履职档案ById
export function expertEmploymentByIdApi(id) {
  return request({
    url: `/jsjx/expertEmployment/${id}`,
    method: 'get',
  })
};
// 专家履职档案Add
export function expertEmploymentAddApi(data) {
  return request({
    url: '/jsjx/expertEmployment',
    method: 'post',
    data
  })
};
// 专家履职档案Edit
export function expertEmploymentEditApi(data) {
  return request({
    url: '/jsjx/expertEmployment',
    method: 'put',
    data
  })
};
// 专家履职档案Del
export function expertEmploymentDelApi(id) {
  return request({
    url: `/jsjx/expertEmployment/${id}`,
    method: 'delete',
  })
};